Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds principally a rule for the naming convention prefix check in the phpcs.xml:
Following the best practice for naming: https://developer.wordpress.org/plugins/plugin-basics/best-practices/#avoid-naming-collisions
The rest of the changes are adapting the namespace to that format.
Testing instructions
This is already uploaded in our stage WordPress installation. You can check if nothing breaks.
Credentials
Additional information
Error from WordPress.org:
When the report said that we use openedxcommerce in 7 elements as a prefix, it refers to the namespaces. The openedx in 8 elements is for the openedx_commerce in some function names, and it is taking only the first part.
Checklist for Merge